<template name="new_link">

	<div class="modal fade" id="new-modal">
      <div class="modal-dialog">
      <form class="new-link-add" role="form">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal">
	            <span aria-hidden="true">&times;</span>
	            <span class="sr-only">关闭</span>
            </button>
            <h4 class="modal-title">新建链接</h4>
          </div>
          <div class="modal-body">
            <div class="form-group">
              <label for="name">链接名称</label>
              <input type="text" class="form-control" id="link_name" placeholder="输入链接名称">
            </div>
			<div class="form-group">
				<label for="role_name">URL</label>
				<input type="text" class="form-control" id="link_url" placeholder="相对路径或者带http的绝对路径">
				<p>ex: http://baidu.com, /admin/something</p>
			</div>
			<div class="form-group">
				<label for="role_name">区域</label>
				<input type="text" class="form-control" id="link_area" placeholder="选择区域">
			</div>
			<div class="form-group">
				<label for="role_name">组别</label>
				<input type="text" class="form-control" id="link_cate" placeholder="选择组别">
			</div>
			<div class="form-group">
				<label for="role_name">权重(越小权限越大)</label>
				<input type="number" class="form-control" id="link_weight" placeholder="输入权重">
			</div>
     		</div>
          <div class="modal-footer">
            <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            <button type="submit" class="btn btn-primary">添加</button>
          </div>
        </div><!-- /.modal-content -->
       </form>
      </div><!-- /.modal-dialog -->
    </div><!-- /.modal -->
	
</template>